package com.ys.entity.logistics;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TL_DecCustomBox", catalog="Id")
public class TlDecCustomBox extends BaseEntity<TlDecCustomBox> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Pbid", nameJava="pbid", typeDataBase="varchar")
	private String pbid;
	@YsField(nameDataBase="BidFbaBox", nameJava="bidFbaBox", typeDataBase="varchar")
	private String bidFbaBox;
	@YsField(nameDataBase="BoxIndex", nameJava="boxIndex", typeDataBase="tinyint")
	private Integer boxIndex;
	@YsField(nameDataBase="BoxCode", nameJava="boxCode", typeDataBase="varchar")
	private String boxCode;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TlDecCustomBox setId(Long id) {
		this.id = id;
		return this;
	}
	public String getPbid() {
		return pbid;
	}
	public TlDecCustomBox setPbid(String pbid) {
		this.pbid = pbid;
		return this;
	}
	public String getBidFbaBox() {
		return bidFbaBox;
	}
	public TlDecCustomBox setBidFbaBox(String bidFbaBox) {
		this.bidFbaBox = bidFbaBox;
		return this;
	}
	public Integer getBoxIndex() {
		return boxIndex;
	}
	public TlDecCustomBox setBoxIndex(Integer boxIndex) {
		this.boxIndex = boxIndex;
		return this;
	}
	public String getBoxCode() {
		return boxCode;
	}
	public TlDecCustomBox setBoxCode(String boxCode) {
		this.boxCode = boxCode;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TlDecCustomBox setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TlDecCustomBox setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TlDecCustomBox setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TlDecCustomBox tlDecCustomBox(
		String pbid,
		String bidFbaBox,
		Integer boxIndex,
		String boxCode,
		Integer status
			) {
		TlDecCustomBox entity = new TlDecCustomBox();
		entity.setPbid(pbid);
		entity.setBidFbaBox(bidFbaBox);
		entity.setBoxIndex(boxIndex);
		entity.setBoxCode(boxCode);
		entity.setStatus(status);
		return entity;
	}
}